import request from "@/utils/request";

// 获取游戏列表
export function getGameListApi(params: any) {
  return request({
    url: "/game/get_game_list",
    method: "get",
    params,
  });
}

// 获取游戏详情
export function getGameInfoApi(id: any) {
  return request({
    url: "/game/get_game",
    method: "get",
    params: { id },
  });
}
